package com.jjsj.mall.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jjsj.mall.entity.OrderReceipt;
import com.jjsj.mall.mapper.OrderReceiptMapper;
import com.jjsj.mall.service.IOrderReceiptService;
import org.springframework.stereotype.Service;

import java.io.Serializable;

/**
 * 订单发票信息Service业务层处理
 *
 * @author www.jjsjshop.com
 * @date 2022-10-10
 */
@Service
public class OrderReceiptServiceImpl extends ServiceImpl<OrderReceiptMapper, OrderReceipt> implements IOrderReceiptService {

    @Override
    public OrderReceipt getById(Serializable id) {
        return baseMapper.selectById2(id);
    }
}